package com.pactera.asmp.server.entity;

import com.pactera.asmp.server.common.utils.FastJsonUtil;

import java.util.List;

/**
 * @ProjectName: tlsserver
 * @Package com.pactera.asmp.server.entity
 * @ClassName: UserVO
 * @Description: User 视图传输数据
 * @Date 2020/06/12 11:01
 * @Author lvzhiqiang
 * @Version 1.0
 */
public class UserVO {

    private Integer id;
    private String username;
    private String mobile;
    private String email;
    private String password;
    private Integer insertUid;
    private boolean isJob;
    private List<Integer> roleIds;
    private Integer version;

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public List<Integer> getRoleIds() {
        return roleIds;
    }

    public void setRoleIds(List<Integer> roleIds) {
        this.roleIds = roleIds;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getInsertUid() {
        return insertUid;
    }

    public void setInsertUid(Integer insertUid) {
        this.insertUid = insertUid;
    }

    public boolean isJob() {
        return isJob;
    }

    public void setJob(boolean job) {
        isJob = job;
    }

    @Override
    public String toString() {
        return FastJsonUtil.BeanToJson(this);
    }
}
